import request from '@/utils/request'

// 查询实际压力衰减值列表
export function listDispatchActualPressureDecayValues(query) {
  return request({
    url: '/system/dispatchActualPressureDecayValues/list',
    method: 'get',
    params: query
  })
}

// 查询实际压力衰减值详细
export function getDispatchActualPressureDecayValues(actualPressureDecayValuesId) {
  return request({
    url: '/system/dispatchActualPressureDecayValues/' + actualPressureDecayValuesId,
    method: 'get'
  })
}

// 新增实际压力衰减值
export function addDispatchActualPressureDecayValues(data) {
  return request({
    url: '/system/dispatchActualPressureDecayValues',
    method: 'post',
    data: data
  })
}

// 修改实际压力衰减值
export function updateDispatchActualPressureDecayValues(data) {
  return request({
    url: '/system/dispatchActualPressureDecayValues',
    method: 'put',
    data: data
  })
}

// 删除实际压力衰减值
export function delDispatchActualPressureDecayValues(actualPressureDecayValuesId) {
  return request({
    url: '/system/dispatchActualPressureDecayValues/' + actualPressureDecayValuesId,
    method: 'delete'
  })
}
